home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000184_Petri_member@newsguy.com_Sun Apr 11 20:07:10 2004.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Path: newsmaster.cc.columbia.edu!panix!logbridge.uoregon.edu!newshub.sdsu.edu!tethys.csu.net!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!drn
  2. From: Petri <Petri_member@newsguy.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: FTP with Auth SSL
  5. Date: 11 Apr 2004 16:46:26 -0700
  6. Organization: Newsguy News Service [http://newsguy.com]
  7. Lines: 88
  8. Message-ID: <c5clci0adl@drn.newsguy.com>
  9. References: <c5bv8301ck0@drn.newsguy.com> <GWfec.23377$Nn4.4630542@twister.nyc.rr.com>
  10. NNTP-Posting-Host: p-467.newsdawg.com
  11. X-Newsreader: Direct Read News 4.20
  12. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14897
  13.  
  14. In article <GWfec.23377$Nn4.4630542@twister.nyc.rr.com>, Jeffrey Altman says...
  15. > Secure Sockets Layer is the name Netscape gave the
  16. > protocol when it was proprietary.  After it was donated to
  17. > the IETF and modified to fix some minor security design issues,
  18. > the protocol was renamed to Transport Layer Security.
  19.  
  20. Yes, I am aware of that historical fact. :)
  21. The reason I wondered why it complained about TLS when I had specified SSL, is
  22. that there seem to exist something called "auth ssl" and "auth tls", which is
  23. something I have to specify correctly in my FTP client when connecting to these
  24. FTP-servers:
  25. http://www.ford-hutchinson.com/~fh-1-pfh/ftps-ext.html
  26.  
  27. > You are not providing enough information to diagnose where
  28. > the TLS connection is failing.
  29.  
  30. Sorry, I search the documentation for debug options, and only found "set ftp
  31. debug on".
  32.  
  33. > Try turning on debugging:
  34. >    SET AUTH TLS DEBUG ON
  35.  
  36. Where did you find that? :)
  37. It's not mentioned here:
  38. http://www.columbia.edu/kermit/ckermit80.html
  39.  
  40. Thanks for the tip!
  41. Very strange, if I add that line to the kermit script, I get this output when
  42. running the script:
  43. ?No keywords match - debug
  44.  
  45. But if I write it at the prompt after the script has run, it is accepted.
  46.  
  47. This output is after having logged in with the script listed earlier and having
  48. typed the command above:
  49. ---8<---
  50. (/home/petri/) C-Kermit>set auth tls debug on
  51. (/home/petri/) C-Kermit>ftp dir
  52. ---> TYPE A
  53. 200 Type set to A.
  54. ---> PASV 
  55. 227 Entering Passive Mode (127,0,0,1,128,154)
  56. ---> LIST 
  57. 150 Opening ASCII mode data connection for directory listing.
  58. =>START SSL connect on DATA
  59. SSL_handshake:UNKWN  before/connect initialization
  60. SSL_connect:UNKWN  before/connect initialization
  61. SSL_connect:3WCH_A SSLv3 write client hello A
  62. SSL_read_alert
  63. SSL_connect:failed in 3RSH_A SSLv3 read server hello A
  64. ftp: SSL_connect DATA error: error:14094417:SSL routines:SSL3_READ_BYTES:sslv3
  65. alert illegal parameter
  66. (/home/petri/) C-Kermit>exit
  67. ---> QUIT 
  68. 435 Failed TLS negotiation on data channel, disconnected: No such file or
  69. directory.
  70. SSL_write_alert
  71. ---8<---
  72.  
  73. Also, I failed to note the last time, the following is output at the beginning
  74. of the session:
  75. ---8<---
  76. 220 FTP-server (glftpd 1.32_Linux+TLS) ready.
  77. ---> AUTH SSL 
  78. 234 AUTH SSL successful
  79. SSL accepted as authentication type
  80. [TLS - ADH-AES256-SHA          SSLv3 Kx=DH       Au=None Enc=AES(256)  Mac=SHA1
  81. Compression: None
  82. FTP Command channel is Private (encrypted)
  83. ---> PBSZ 0 
  84. 200 PBSZ 0 successful
  85. ---> PROT P 
  86. 200 Protection set to Private
  87. ---8<---
  88.  
  89. The more detailed debug output seems to indicate something that looks like a
  90. protocol failure.
  91. I know glftpd isn't exactly a crowning achievement of software engineering,
  92. maybe there is a way in C-Kermit to specify a more relaxed ssl/tls negotiation?
  93. But of course, FTP sessions work great from FTP clients on both Windows and
  94. Linux, so that would rule out fatal server side problems.
  95. Is there some configuring in kermit I could try to circumvent this problem?
  96.  
  97. Thanks for your help!
  98.  
  99.  
  100. Petri
  101.